home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-02 / oasis.zip / STARTUP.DOC < prev    next >
Text File  |  1989-12-04  |  6KB  |  166 lines

  1.                                                  
  2.       ┌────────┬─────────────────────────────┬───────┐
  3.       │ OASIS  │ EUREKA SOFTWARE ASSOCIATES  │ OASIS │
  4.       └───┬────┴─────────────────────────────┴──┬────┘
  5.           │  OASIS 5.0 START UP DOCUMENTATION   │
  6.           └─────────────────────────────────────┘
  7.  
  8.  
  9.  
  10. INTRODUCTION
  11.  
  12.      This brief summary shows how OASIS & Turbo Pascal (tm)
  13.      interact. A full description with step by step examples can
  14.      be found in the reference manual.
  15.  
  16.      OASIS consists of two parts
  17.         SFD (Screen Format Designer)
  18.         SCL (Screen Control Language).
  19.  
  20.  
  21.  
  22.  
  23. SYSTEM REWQUIREMENTS
  24.  
  25.      Hard disk preferable
  26.      Check your 'CONFIG.SYS' file for:        
  27.           FILES=16
  28.           BUFFERS=32
  29.  
  30.  
  31.  
  32. OASIS INSTALLATION
  33.  
  34.      Create Directory C:\OASIS
  35.      COPY SFD.* in C:\OASIS (6 files)
  36.      COPY SAMPLE.* in C:\OASIS (not mandatory)
  37.      RENAME SCL40.TPU to SCL.TPU if you use Turbo Pascal 4.0
  38.      RENAME SCL50.TPU to SCL.TPU if you use Turbo Pascal 5.0 
  39.      RENAME SCL55.TPU to SCL.TPU if you use Turbo Pascal 5.5 
  40.      COPY SCL.TPU in Turbo Pascal Directory.
  41.  
  42. HOW DO I CREATE & TEST MY SCREENS
  43.  
  44.      RUN SFD.EXE
  45.      Press F1 for general Help
  46.      Press F2 for context sensitive Help 
  47.      Press LAYOUT
  48.        *  Follow the menu to create a Format file ie. MyScreens
  49.           (File that will contain all the Formats (screens) you
  50.           will create). 
  51.        *  Then you will be asked the name of the Format you want
  52.           to generate. ie Address  
  53.        *  OASIS will then bring you into the SFD editor (blank
  54.           screen) -  Press F1 for Help
  55.        *  Design your Format using various line types and placing
  56.           your fields on the screen using [ as left delimiter and
  57.           ] as right delimiters.
  58.        *  Your screen could look like this:
  59.           ie. you can decide that field 6 is be your prompt line
  60.    
  61.          ╔═════════════════════════════════════════╗
  62.          ║          OASIS TEST FORMAT              ║
  63.          ║                                         ║
  64.          ╟─────────────────────────────────────────╢
  65.          ║  Name    [                        ]     ║
  66.          ║  Address [                        ]     ║
  67.          ║  City    [                        ]     ║
  68.          ║  State   [  ]  ZIP [     ]              ║
  69.          ╟─────────────────────────────────────────╢
  70.          ║  [                                    ] ║
  71.          ╚═════════════════════════════════════════╝
  72.  
  73.        *  Press ESC to leave the editor 
  74.        *  A menu will ask you to define each field. Again do not
  75.           hesitate to press F1 or F2 for help.
  76.        *  Once all fields have been defined you can press ESC,
  77.           SFD will ask you if you really want to do that, say
  78.           Yes.
  79.        *  You are back to the main Menu, select Test/Modify and
  80.           the Format you just designed will appear on the Screen
  81.           and behave as you defined it with data entry check,
  82.           prompts etc..... to abort press F10
  83.        *  If you are not pleased with the result just go back to
  84.           LAYOUT.
  85.  
  86.        *  Print the Format file to obtain the specifications of
  87.           the format created with SFD to help write you PASCAL
  88.           program. WRITING THE APPLICATION
  89.  
  90. This section is very detailed in OASIS reference manual
  91. A typical application would look like this:
  92.  
  93. PROGRAM TEST;
  94.  
  95. USES SCL; {this make the SCL unit available to your program}
  96.  
  97. { User declarations, procedures & functions }
  98.  
  99. BEGIN; {of main}
  100.   Select_Format_File('myscreens'); {this is the first SCL
  101.                                    statementin any program. It
  102.                                    loads the necessary files and
  103.                                    initializes SCL.}
  104.     {main program}
  105.   Close_Formats;    {last SCL statement in any program. it closes
  106.                     all SCL files and clears the screen.}
  107. END. {of main}
  108.  
  109.  
  110.  
  111.  
  112. Obviously you need other SCL statements to help you deal with
  113. your formats and fields. For example the Procedure
  114. Select_Format(Fname:String10) will be called to display and
  115. handle a format. Look at the source in the examples, modify the
  116. programs and see what happen.
  117.  
  118.  
  119.  
  120. COMPILING THE PROGRAM
  121.  
  122. Make sure that you have the SCL.TPU for your compiler level. See
  123. system installation.
  124. Just make sure SCL.TPU in the Turbo Pascal environment and
  125. compile. 
  126.  
  127.  
  128. RUN YOUR PROGRAM
  129.  
  130. The only requirement is that the program EXE file and the format
  131. files created with SFD for that program are in the same
  132. directory.
  133.  
  134.  
  135. MODIFY THE PROGRAM (in general)
  136.  
  137. If the change is cosmetic or ergonomic, it can be done using SFD 
  138. and no compilation will be requires.
  139.  
  140. If the nature of the change impacts the logic of you program such
  141. as adding or deleting fields, you will need to update your source
  142. to handle the changes made via SFD and you will have to
  143. recompile. WHERE CAN WE BE REACHED
  144.  
  145. In the US you can reach Remy Fesnoux
  146.  
  147. CompuServe ID #      72571,741       
  148. Telephone            (313) 973 0113
  149.  
  150.  
  151. In the UK you can reach Martin Hossfeld
  152.  
  153. CompuServe ID #      TBA
  154. Microlink            72:100534
  155. Telex                265871 Monref G (please quote '72:100534'
  156.                      on first line of Telex for reference)
  157. CIX (Compulink BBS)  Mail Martin
  158.  
  159.  
  160. Write to:
  161.            EUREKA SOFTWARE ASSOCIATES 
  162.  
  163.    2344 Yorkshire             12, Pinewood Green
  164.    Ann Arbor, MI 48104   or   Iver Heath, Bucks. SLO OQP
  165.    USA                        United Kingdom
  166.